from django.contrib.auth.models import AbstractUser
from django.db import models


class UserProfile(AbstractUser):
    author_name = models.CharField(max_length=64, verbose_name='作者名字')

    class Meta:
        db_table = 'UserProfile'
        verbose_name = '用户'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.username
